<template>
  <view class="container">
    <uni-forms :modelValue="form" label-width='200rpx'>

      <uni-forms-item label="技能证书" name="skills">
        <uni-easyinput type="textarea" autoHeight v-model="form.skills"
                       placeholder="请输入技能证书,用;分隔"></uni-easyinput>
      </uni-forms-item>

      <uni-forms-item label="申领金额" name="amount">
        <uni-easyinput type="number" v-model="form.amount" placeholder="请输入申领金额"></uni-easyinput>
      </uni-forms-item>
      <uni-forms-item label="申领次数" name="times">
        <uni-easyinput type="number" v-model="form.times" placeholder="请输入工作年限"></uni-easyinput>
      </uni-forms-item>

    </uni-forms>
    <view class="tip">
      <uni-icons type="help" size="20"></uni-icons>
      <text style="font-size: 12px;">
        填写说明：【{{ currentSyr.name }}】取得技能证书（且应为【技能证书】），经提前向受托人提供相应证书（同一份证书不得重复多次提交申领）等材料后，【{{ currentSyr.name }}】可申领技能提升支持金。【{{ currentSyr.name }}】就每一份技能证书仅限申领一次，每次可申领的技能提升支持金金额为不超过【{{ form.amount || '申领金额' }}】万元。申领次数不超过【{{form.times || '申领次数'}}】次。如无需填写，则选择跳过。
      </text>
    </view>
    <view class="bottom" style="display: flex;justify-content: center">
      <button class="button" type="primary" @click="jump(210)">跳过</button>
      <button class="button" type="primary" @click="submit">下一步</button>
    </view>
  </view>
</template>

<script>
import userInfoMixin from "../../common/js/userInfoMixin";

export default {
  mixins: [userInfoMixin],
  data() {
    return {
      name: '209',
      form: {
        skills: '',
        times: '',
        amount: ''
      }
    }
  },
  created() {
  },
  methods: {
    submit() {
      this.submitData({
        key: 'jntszcj',
        data: this.form
      }, '210')

    },
  }
}
</script>

<style>

</style>
